﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;

public partial class register : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public void RegistButton_Click(Object sender, EventArgs e)
    {
        string email = registemail.Text;
        string pw1 = registpw1.Text;
        string pw2 = registpw2.Text;
        string uname = registuname1.Text;

        UserBLL ull = new UserBLL();
        ull.AddUser(email, pw1, pw2, uname);
    }
}